package com.cloudkinto.service.doorpick;

import com.cloudkinto.entity.OrderDoorPickDo;
import com.baomidou.mybatisplus.extension.service.IService;

import com.cloudkinto.common.web.PageResult;
import com.cloudkinto.common.web.SingleResult;
import com.cloudkinto.service.doorpick.vo.*;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  service接口
 * </p>
 * @author hua
 * @since 2024-03-14
 */
public interface OrderDoorPickService extends IService<OrderDoorPickDo> {

    Object add(OrderDoorPickAddReq req, Long userId, Long companyId);

    Object update(OrderDoorUpdateReq req, Long userId, Long companyId);

    int delete(Long id, Long userId, Long companyId);

    Object detail(Long id);

    SingleResult pageInit(Long userId, Long companyId);

    List<OrderDoorPickPageRes> getList(Map<String, String> map);

    PageResult getListPage(Map<String, String> map);

    List<OrderOutMsgRes> getOrderMsgByTrackNumber(String trackNumber, String beginTime, String endTime, Long companyId);

    void cutPickOrder(FinishProblemOrderReq req, Long userId);
}
